package com.it;

import com.it.controller.PayController;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class MyPayApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(MyPayApplication.class, args);
        PayController bean = run.getBean(PayController.class);
        bean.notifyurl();
    }
}
